package com.zfast.forge.pojo.dto;

import com.zfast.config.valid.Create;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


/**
 * 抽卡角色
 *
 * @author zgn
 * @email 
 * @date 2024-02-06 14:27:49
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "bad_part")
@ApiModel(value = "Part", description = "抽卡角色")
public class Part implements Serializable{
    private static final long serialVersionUID=1L;

    @Id
    @Column(name = "id")
    @ApiModelProperty("主键")
    @NotNull(message = "主键不可为空", groups = {Create.class})
    private String id;

    @Column(name = "name")
    @ApiModelProperty("角色名称,中文名")
    private String name;

    @Column(name = "hand")
    @ApiModelProperty("手")
    private Double hand;

    @Column(name = "arm")
    @ApiModelProperty("臂")
    private Double arm;

    @Column(name = "brain")
    @ApiModelProperty("脑")
    private Double brain;

    @Column(name = "leg")
    @ApiModelProperty("腿")
    private Double leg;

    @Column(name = "feet")
    @ApiModelProperty("脚")
    private Double feet;

    @Column(name = "reaction")
    @ApiModelProperty("反应时间")
    private Double reaction;

    @Column(name = "response")
    @ApiModelProperty("启动时间")
    private Double response;

    @Column(name = "del_flag")
    @ApiModelProperty("删除标志0-正常,1-已删除")
    private Boolean delFlag;

    @Column(name = "net_name")
    @ApiModelProperty("外文名")
    private String netName;

    @Column(name = "nickname")
    @ApiModelProperty("别名")
    private String nickname;

    @Column(name = "nationality")
    @ApiModelProperty("国籍")
    private String nationality;

    @Column(name = "ethnicity")
    @ApiModelProperty("民族")
    private String ethnicity;

    @Column(name = "birthplace")
    @ApiModelProperty("出生地")
    private String birthplace;

    @Column(name = "birthday")
    @ApiModelProperty("出生日期")
    private String birthday;

    @Column(name = "height")
    @ApiModelProperty("身高")
    private String height;

    @Column(name = "weight")
    @ApiModelProperty("体重")
    private String weight;

    @Column(name = "graduation")
    @ApiModelProperty("毕业院校")
    private String graduation;

    @Column(name = "sport_event")
    @ApiModelProperty("运动项目")
    private String sportEvent;

    @Column(name = "team")
    @ApiModelProperty("所属运动队")
    private String team;

    @Column(name = "awards")
    @ApiModelProperty("主要奖项")
    private String awards;

    @Column(name = "events")
    @ApiModelProperty("重要事件")
    private String events;

    @Transient
    @ApiModelProperty("模糊查询字段")
    private String whe;
}
